package com.example.czy.api.feign;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.czy.base.qo.PageQO;
import com.example.czy.qo.GoodsQO;
import com.example.czy.utils.R;
import com.example.czy.vo.GoodsVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 商品API
 *
 * @author czy
 * @date 2024-03-17 15:04:19
 **/
@FeignClient(value = "goods-biz", path = "/goods")
public interface GoodsApi {
    @GetMapping("/page")
    R<Page<GoodsVO>> page(PageQO page, GoodsQO qo);
}
